"""
Module implement auth's method: login, etc.
"""

# errors
R_OK    = 0
R_ERROR = 1

class mod_auth( ):

  def __init__( self ):
    pass

  def do_getProfile( self, authContext, args ):
    # here authContext is None or ignored
    return ( True, '/home/anubis/blogoserv' )

  def do_chkAuth( self, authContext, args ):
    return True

  def do_deAuth( self, authContext, args ):
    # mk deauth
    pass

  def do_login( self, authContext, args ):
    return ( R_OK, [] )

  def do_logout( self, authContext, args ):
    return ( R_OK, [] )

